package io.renren.service.xtd.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import io.renren.dao.xtd.DataContractDaoXtd;
import io.renren.entity.xtd.DataContractEntityXtd;
import io.renren.service.xtd.DataContractServiceXtd;
import io.renren.service.impl.DataContractServiceImpl;


@Service("dataContractServiceXtd")
public class DataContractServiceImplXtd extends DataContractServiceImpl implements DataContractServiceXtd {
	@Autowired
	private DataContractDaoXtd dataContractDaoXtd;

	@Override
	public Integer impContract(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.impContract(map);
	}

	@Override
	public Integer impContractPay(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.impContractPay(map);
	}

	@Override
	public Integer impContractPayDetail(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.impContractPayDetail(map);
	}
	
	
	@Override
	public void impExcelInList(List<Map<String, Object>> list) {
		dataContractDaoXtd.impExcelInList(list);
		
	}
	
	@Override
	public void deleteAll(){
		dataContractDaoXtd.deleteAll();
	}

	@Override
	public List<DataContractEntityXtd> queryListXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.queryListXtd(map);
	}
	
	@Override
	public List<DataContractEntityXtd> queryListYuanXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.queryListYuanXtd(map);
	}

	@Override
	public void deleteXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		dataContractDaoXtd.deleteXtd(map);
		
	}

	@Override
	public int queryTotalXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.queryTotalXtd(map);
	}

	@Override
	public DataContractEntityXtd queryObjectXtd(String id) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.queryObjectXtd(id);
	}

	@Override
	public int queryTotalXtdByMonth(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.queryTotalXtdByMonth(map);
	}

	@Override
	public void deleteXtdByMonth(Map<String, Object> map) {
		// TODO Auto-generated method stub
		dataContractDaoXtd.deleteXtdByMonth(map);
	}

	@Override
	public List<BigDecimal> getContractCount(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.getContractCount(map);
	}

	@Override
	public List<String> getAllContractNo() {
		// TODO Auto-generated method stub
		return dataContractDaoXtd.getAllContractNo();
	}
}
